home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96b.txt / 000014_icon-group-sender _Mon Oct 7 13:32:00 1996.msg < prev    next >
Internet Message Format  |  1997-01-02  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Mon, 7 Oct 1996 10:17:36 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: Mon, 7 Oct 1996 13:32:00 GMT
  4. From: bezeau@jupiter.sun.csd.unb.ca (Larry Bezeau)
  5. Message-Id: <bezeau.61.844695120@jupiter.csd.unb.ca>
  6. Organization: New Brunswick Centre for Educational Administration
  7. Sender: icon-group-request@cs.arizona.edu
  8. Subject: Re: Parsing the Icon command line
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10.  
  11. >+-----
  12. >| h:\>cmdline.exe "A   B"  \"C   D\"
  13. >| A
  14. >| B
  15. >| C D
  16. >|
  17. >| I am doing all this in a DOS window in OS/2 2.1 with the 4DOS command
  18. >+--->8
  19. >
  20. >Using the latest (beta) OS/2 Icon in OS/2 v4, I get:
  21. >
  22. >[C:\Staging]cmdline.exe "A   B \"C   D\"
  23. >A   B
  24. >"C
  25. >D"
  26. >
  27. >Have you made sure that it does the same thing with COMMAND.COM?
  28.  
  29. Note that your command line is not exactly the same as mine,
  30. since one of the quotation marks has been left out.  That
  31. being so, what you got is also very confusing.  The three
  32. spaces between A and B were preserved, but what ended that
  33. field?  Not the escaped quotation mark because that appears
  34. as part of the second field.  I will give COMMAND.COM a try.
  35. One potential difficulty here is that not all command
  36. processors necessarily pass the same characters to the program.
  37.